<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>chat</title>

    <style type="text/css">
    html, body, #app{ height: 100%;}
    </style>
  </head>
  <body>
    <div id="app" style="overflow: hidden;"></div>
    <!-- built files will be auto injected -->
    <script>
    var wsUrl = 'ws://192.168.0.66:8800';
    var uploadConfig = {
      //url: 'http://192.168.2.78/uploads.php',
      url: '',
      urlKey: 'url',
    }
    // 是否小屏幕
    var isPhone = window.innerWidth < 576 ? true : false;

    window.onbeforeunload = function(e){
      return "确定离开当前页面吗？";
    };
    </script>
  </body>
</html>
